package com.hznu.jspFinal.service;

import com.hznu.jspFinal.entity.Course;

import java.util.List;

/**
 * author:wp
 */
public interface CourseService {

    int addOne(Course course);

    int update(Course course);

    int delete(Integer id);

    Course findById(Integer id);

    Course findByName(String name);

    List<Course> findByCreatorid(Integer creatorid);

}
